<%@ tag dynamic-attributes="atts" 
%><%@ tag body-content="empty" 
%><%@ attribute name="id" required="true"  
%><%@ attribute name="label" required="false"  
%><%@ attribute name="value" required="false"  type="java.util.Date" 
%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" 
%><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" 
%><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" 
%><c:if test="${!empty value}" 
><fmt:formatDate var="value" pattern="dd/MM/yyyy" value='${value}'
/><c:set var="value" value="value='${value}'"/></c:if
><c:if test="${!empty label}" >
<label ${sclass} for="${id}">${label}</label></c:if
><input type="text" id="${id}" name="${id}" ${value} <c:forEach var="at" items="${atts}"> ${at.key}='${at.value}' </c:forEach>/>

